<html>
<head>
    <title></title>
    <link rel="stylesheet" href="{$baseUrl}public/font-style.css" type="text/css" />
</head>

<body style="background:none;">
<ol class="comment_list">
{foreach item="value" key="key" from=$rs name="a"} 
<li>
    <h3><span style="margin-right:5px;">#{$smarty.foreach.a.index+1}</span>{$value.comment_name}:</h3>
    <p>
        <span>{$value.comment_time|date_format:"%Y-%m-%d %T"}</span>
    </p>
    <p>
        {$value.comment_content}
    <p>
</li>
{/foreach}
</ol>
<div class="comment_page" style="text-align:center;">
{if !empty($pre)}
<a href="{$baseUrl}info/getComment?page={$pre}&id={$id}" > &nbsp;&nbsp;Prev</a>
{/if}
{section name=loop loop=$all} 
<a href="{$baseUrl}info/getComment?page={$smarty.section.loop.index+1}&id={$id}" 
 {if $smarty.section.loop.index+1 eq $page} now{/if} ">
{$smarty.section.loop.index+1}
</a>
{/section}
<a></a>
{if !empty($last)}
<a href="{$baseUrl}info/getComment?page={$last}&id={$id}" >Next</a>
{/if}
</div>
{$tips}
</body>
</html>
